Skip to content

chore(ci): Maximize CI/CD values (Dependabot & Permissions)#29

Merged
hyperpolymath merged 4 commits intomainfrom
chore/cicd-optimizations
Mar 20, 2026
Merged

chore(ci): Maximize CI/CD values (Dependabot & Permissions)#29
hyperpolymath merged 4 commits intomainfrom
chore/cicd-optimizations

Conversation

@hyperpolymath
Copy link
Owner

This automated PR updates your CI/CD configurations to maximize value and security.

  • Dependabot: Ensures github-actions is monitored for updates.
  • Security: Adds permissions: read-all to workflows missing explicit permissions.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 01ab6de9dd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- name: Trigger BoJ Server (Casket/ssg-mcp)
run: |
# Send a secure trigger to boj-server to build this repository
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix the malformed JSON payload in the BoJ trigger

The -d argument on this line ends with an extra escaped quote/brace after casket, which leaves the generated shell script with an unmatched " before curl can run. Replacing the GitHub expressions with literal values and running bash -n reproduces unexpected EOF while looking for matching '"', so every push to main/master will skip the trigger instead of notifying BoJ.

Useful? React with 👍 / 👎.

- name: Trigger BoJ Server (Casket/ssg-mcp)
run: |
# Send a secure trigger to boj-server to build this repository
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Point the trigger at a host GitHub Actions can actually reach

This workflow runs on ubuntu-latest, but the only endpoint it calls is http://boj-server.local:7700/.... I searched .github/, scripts/, and hooks/ for any self-hosted runner, VPN, /etc/hosts, or other network bootstrap and found no setup besides this single reference, so a normal GitHub-hosted runner has no path to that private .local host. Even after fixing the quoting bug above, pushes on main/master still will not notify the BoJ server.

Useful? React with 👍 / 👎.

@hyperpolymath hyperpolymath enabled auto-merge (squash) March 18, 2026 21:01
@hyperpolymath hyperpolymath merged commit 154fd08 into main Mar 20, 2026
16 of 28 checks passed
@hyperpolymath hyperpolymath deleted the chore/cicd-optimizations branch March 20, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant